﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Catan
{
    public partial class MainForm : Form
    {
        private GameRender _GameRenderer;
        private Game _Game;

        public MainForm()
        {
            InitializeComponent();

            _Game = new Game();
            _GameRenderer = new GameRender();
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);

            _GameRenderer.Render(e.Graphics, _Game);
        }
    }
}
